// Triangle.h: interface for the Triangle class.
//
//////////////////////////////////////////////////////////////////////
#include "Vertex.h"


#if !defined(AFX_TRIANGLE_H__D98CFE27_D716_4309_ACD7_FC2A86E59FFF__INCLUDED_)
#define AFX_TRIANGLE_H__D98CFE27_D716_4309_ACD7_FC2A86E59FFF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "figuras.h"

class Triangle  
{
private:
    Vertex v1,v2,v3;
	figuras f;
public:
	Triangle();
	virtual ~Triangle();
    void setTriangleVertex(Vertex V1,Vertex V2, Vertex V3);
	void getTriangleVertex(Vertex& V1,Vertex& V2, Vertex& V3);
	void setTriangleColor( int R , int G, int B);
	void draw(	SDL_Surface *screen);
};

#endif // !defined(AFX_TRIANGLE_H__D98CFE27_D716_4309_ACD7_FC2A86E59FFF__INCLUDED_)
